//
//  InitViewController.m
//  Four_Fit_New
//
//  Created by xalo on 16/7/16.
//  Copyright © 2016年 xmaz. All rights reserved.
//

#import "InitViewController.h"
#import "LoginViewController.h"
#import "RegisterViewController.h"

/**
 *  首页登录注册
 */

@interface InitViewController ()

@end

@implementation InitViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
}


//注册事件
- (IBAction)registerBtn:(id)sender {
    
    RegisterViewController *registerVC = [[RegisterViewController alloc]init];
    [self.navigationController pushViewController:registerVC animated:YES];
}
//登录事件
- (IBAction)loginBtn:(id)sender {
    
    LoginViewController *loginVc = [[LoginViewController alloc]init];
    [self.navigationController pushViewController:loginVc animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
